package com.coolwen.service;

import com.coolwen.dao.LoginUserMapper;
import com.coolwen.entity.LoginUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by user on 2016/5/4.
 */
@Service("loginService")
public class LoginServiceImpl  implements LoginService{

    @Autowired
    LoginUserMapper loginUserMapper;
    @Override
    public LoginUser selectByLoginUserName(String userName) {
        return loginUserMapper.selectByLoginUserName(userName);
    }
}
